package cn.wu.reggie.service;

import cn.wu.reggie.common.R;
import cn.wu.reggie.entity.Employee;

public interface EmployeeService {

    //登陆的方法，返回对象是R，R里面要存储当前登录成功的用户
    R<Employee> login(Employee param);


    R save(Employee employee);

    R findByPage(Integer pageNum, Integer pageSize, String name);

    R update(Employee employee);

    // 根据id查询员工
    R<Employee> findById(Long id);
}


